home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
MONITOR
/
HERCAP10.ARJ
/
POMTED.DOC
< prev
next >
Wrap
Text File
|
1991-01-13
|
3KB
|
85 lines
P O M T E D 1 . 0
==================
Poor Man's TIFF Editor
TapirSoft Gisbert W.Selke
January 1991
This is a rough-and-ready two-level black-and-white pixel graphics
editor... Well, not quite even that.
It is a very simple means of editing a graphics file you have on disk in
TIFF format. It converts the TIFF file into a (possibly Gargantuan) text
file, which you can edit using your favourite text editor, and then
converts the result back into a TIFF file. Easy, ne?
Hence, the editing process has three stages:
(1) TIFF2CHR < tiff-file > text-file
where "tiff-file" has been replaced by the name of your TIFF file,
complete with extension, and "text-file" by some new name.
(2) Use your text editor, or word processor, to manipulate the file
created by (1) above. Or print it, probably using the smallest font
available on your printer. Then save the text file; make sure the
output is plain ASCII and contains no word processor information.
(For the contents of the first line, cf. below.)
(3) CHR2TIFF < text-file > new-tiff-file
where "text-file" is the name of the file written in (2) above, and
"new-tiff-file" is a file with extension TIF. You may want to use a
new name for this, just to make sure.
That's it!
A few more remarks:
The first line of the text file contains the picture's dimensions, first
width, then height. This gives you control over the resulting picture's
size. If you change just a few pixels, you'll probably want to leave the
size values unchanged; but you can use them to trim off excess space on
the right and the bottom.
If your picture is smaller than the sizes specified, blank space will be
padded.
The rule is that each character in the text file corresponds to one
pixel. Black pixels correspond to the space character; white pixels are
mapped to asterisks by TIFF2CHR. CHR2TIFF, on the other hand, will
accept all non-blank characters for white pixels.
Note that the text file can be quite large, so your editor/word
processor must be able to handle large files.
Error handling is only rudimentary; beware of full disks.
For the technically-minded: TIFF2CHR can read run-length encoded TIFF
files, but none of the more sophisticated compressed formats. CHR2TIFF
will always produce unpacked files.
Colour and greyscale TIFF files are not supported by POMTED 1.0, nor
will they ever be. If you want something more sophisticated, use a more
sophisticated programme.
These programmes may be used and copied freely, while I retain the
copyright.
In case of problems, questions, suggestions, get in touch with me at
TapirSoft
Gisbert W.Selke
Ermekeilstr. 28
D-5300 Bonn 1
Germany